package com.ss.demo.springbootdemo.ioc.definition;

/**
 * 作者: MrZhangJR
 * 时间: 2021/11/11 17:20
 * 描述:
 */
public class BeanDefinition {
    private String beanName;
    private Class clazz;

    public BeanDefinition(String beanName, Class<?> clazz) {
        this.beanName = beanName;
        this.clazz = clazz;
    }

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public Class getClazz() {
        return clazz;
    }

    public void setClazz(Class clazz) {
        this.clazz = clazz;
    }

    @Override
    public String toString() {
        return "BeanDefinition{" +
                "beanName='" + beanName + '\'' +
                ", clazz=" + clazz +
                '}';
    }
}
